package com.student.dao;
//@Classname AdmininfoTest
//@time 21:13
//OMEN

import com.student.dao.impl.AdminInfoDaoImpl;
import com.student.entity.AdminInfo;
import org.junit.Test;





public class AdmininfoTest {
    private AdminInfoDao ad=new AdminInfoDaoImpl();

    @Test
    public void selectbyid() throws Exception {
        System.out.println(ad.selectById(101));

    }

    @Test
    public void select() throws Exception{
        System.out.println(ad.select(1,2));
    }


    @Test
    public void inset() throws Exception{

        ad.insert(new AdminInfo(109,"admin2","1234"));
    }


}
